package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author pengtao
 * @Date 2025-05-11  15:46
 */
@Mapper
public interface NursingPlanMapper {
    //增
    void insert(NursingPlanVo nursingPlanVo);

    //查
    NursingPlan selectByPrimaryKey(Long id);

    //删除
    void delete(Long id);

    //改
    void update(NursingPlanVo nursingPlanVo);

    //分页查询
    Page<NursingPlan> selectByPage(String name, Integer status);

    List<NursingPlanVo> getNursingPlanVo();
}
